home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_swatchPanelTextFieldStyle.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
44 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _swatchPanelTextFieldStyle
{
public function _swatchPanelTextFieldStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".swatchPanelTextField");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".swatchPanelTextField",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.highlightColor = 12897484;
this.borderColor = 14015965;
this.paddingLeft = 5;
this.shadowCapColor = 14015965;
this.paddingRight = 5;
this.shadowColor = 14015965;
this.borderStyle = "inset";
this.buttonColor = 7305079;
this.backgroundColor = 16777215;
this.borderCapColor = 9542041;
};
}
}
}
}